package com.qfedu.wisdomapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;


/**
 * @Description:
 * @Author: 第六组
 * @Date: 2022/09/23 21:28:35
 */
@Data
@TableName("t_comment")
public class Comment {
    /**主键自增*/
    @TableId(type = IdType.AUTO)
    private Long id;
    /**用户ID*/
    private Long uid;
    /**商品ID*/
    private Long gid;
    /**评价内容*/
    private String info;
    /**评论评论者 默认设置为0*/
    private Long pid;
    /***/
    private Date ctime;
}